kotlin: sort List T with T being a class